<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>返回 UCD 库中 quick_print 设置的当前值</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="ref.snmp.html">« SNMP 函数</a></li>
      <li style="float: right;"><a href="function.snmp-get-valueretrieval.html">snmp_get_valueretrieval »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.snmp.html">SNMP 函数</a></li>
    <li>返回 UCD 库中 quick_print 设置的当前值</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.snmp-get-quick-print" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">snmp_get_quick_print</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">snmp_get_quick_print</span> &mdash; <span class="dc-title">返回 UCD 库中 quick_print 设置的当前值</span></p>

 </div>
 <div class="refsect1 unknown-examplet" id="refsect1-function.snmp-get-quick-print-unknown-examplet">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>snmp_get_quick_print</strong></span>(): <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   返回保存在 UCD 库中 quick_print 的当前值。默认情况下 quick_print 为 off。
   <div class="example" id="example-4458">
    <p><strong>示例 #1 <span class="function"><strong>snmp_get_quick_print()</strong></span> 示例</strong></p>
    <div class="example-contents"> 
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />&nbsp;&nbsp;$quickprint&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">snmp_get_quick_print</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
    </div>

   </div>
  </p> 
  <p class="para">
   如果 quick_print 为 off，上边的函数调用将返回 
   <strong><code>false</code></strong>，而如果 quick_print 为 on，则返回 <strong><code>true</code></strong>。
  </p>
  <p class="para">
   <span class="function"><strong>snmp_get_quick_print()</strong></span> 仅在使用了 UCD SNMP
   库时才可用。当使用 Windows SNMP 库时，此函数不可用。
  </p>
  <p class="para">
   参见
   <span class="function"><a href="function.snmp-set-quick-print.html" class="function">snmp_set_quick_print()</a></span> 查看 quick_print 的详细说明。
  </p>
 </div>

</div></div></div></body></html>